<?php defined('BASE_PATH') or die('No direct script access.');
/*
 * File : controller.php
 * Type : Class controller
 * Module : index
 * Date : 26/11/2010
 */
Class indexController extends BE_Controller {
    protected $registry;
    function __construct($registry) {
        parent::__construct($registry);
        $this->language->load('index');
    }
    public function index() {        
        $this->load->model('index/Mindex');
        //$this->Mindex->index();
        $this->template->write('title',$this->language->get('heading_title_admin'));
        /** Nạp template ** */
        // loop over the array object and echo variables and values
        $data['module']='index';
        $this->template->view('left','index','admin/index',$data);
        #render để hoàn tất load template
        $this->template->render();
    }

}
// end of file index controller
